package com.etc.service;

import com.etc.model.Result;
import com.etc.model.User;
import com.etc.model.esuser;


import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import java.util.List;


public interface UserService {
    Result findByUsername(User user, HttpServletRequest request);
    List<User> userByAll();
    Integer save(User user) throws IOException;
    Integer delete(String id);
    Integer update(User user) throws Exception;
    esuser select(String id);


}
